/** Created by CUIJA on 05-19-2017.*/

var angular = require('angular');
var authRoutes = require('./routes/auth.routes');
var navbarConfig = require('./configs/navbar.config');
var loginService = require('./services/login.service');
var loginCtrl = require('./controller/login.cointroller');

const moduleName = 'auth';

angular.module(moduleName,[])
    .factory('loginService', loginService)
    .controller('loginCtrl', loginCtrl)
    .config(authRoutes)
    .run(navbarConfig);

module.exports = moduleName;
